import org.springframework.data.mongodb.core.mapping.Document;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;
import java.util.NavigableMap;
import java.util.Set;

@Document(collection = "person")
public record Person(Long id, String name, Integer age, String address, String phone, LocalDateTime birthday,
                     List<Pet> pets,
                     Map<Integer, Pet> petMap,
                     NavigableMap<Integer, Pet> petNavigableMap,
                     Set<String> tags,
                     Map<String, String> properties,
                     byte[] blob
                     ) {

}
